package com.bl.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * @author fanhaotian
 */
@Component
public class UUIDUtils {
     /**
      * 随机生成id
      *
      * @return
      */
     public String getUUID() {
          return UUID.randomUUID().toString().replace("-", "").toUpperCase();
     }
}
